<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>USDT交易平台</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.8/dist/chart.umd.min.js"></script>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
    
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#165DFF',
                        secondary: '#36D399',
                        danger: '#F87272',
                        dark: '#1E293B',
                        light: '#F1F5F9',
                        'dark-blue': '#0F172A',
                        'light-blue': '#E0E7FF',
                    },
                    fontFamily: {
                        inter: ['Inter', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .scrollbar-hide {
                -ms-overflow-style: none;
                scrollbar-width: none;
            }
            .scrollbar-hide::-webkit-scrollbar {
                display: none;
            }
            .glass {
                background: rgba(255, 255, 255, 0.2);
                backdrop-filter: blur(10px);
                -webkit-backdrop-filter: blur(10px);
            }
            .text-shadow {
                text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            }
            .card-hover {
                transition: all 0.3s ease;
            }
            .card-hover:hover {
                transform: translateY(-5px);
                box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
            }
        }
    </style>
</head>
<body class="font-inter bg-gradient-to-br from-dark-blue to-dark min-h-screen text-light">
    <!-- 导航栏 -->
    <header class="fixed top-0 left-0 right-0 z-50 transition-all duration-300" id="navbar">
        <div class="container mx-auto px-4 py-3 flex items-center justify-between glass border-b border-white/10">
            <div class="flex items-center space-x-2">
                <div class="w-10 h-10 rounded-lg bg-primary flex items-center justify-center">
                    <i class="fa fa-exchange text-white text-xl"></i>
                </div>
                <h1 class="text-xl font-bold bg-gradient-to-r from-primary to-secondary bg-clip-text text-transparent">USDT<span class="text-sm font-normal ml-1">Exchange</span></h1>
            </div>
            
            <nav class="hidden md:flex items-center space-x-8">
                <a href="index.html" class="text-primary font-medium">闪兑</a>
                <a href="buy.html" class="text-white/70 hover:text-primary transition-colors">购买USDT</a>
                <a href="sale.html" class="text-white/70 hover:text-primary transition-colors">出售USDT</a>
                <a href="history.html" class="text-white/70 hover:text-primary transition-colors">交易记录</a>
                <a href="help.html" class="text-white/70 hover:text-primary transition-colors">帮助中心</a>
            </nav>
            
            <div class="flex items-center space-x-4">
                <button class="hidden md:block px-4 py-2 rounded-lg border border-primary/30 text-primary hover:bg-primary/10 transition-colors">
                    登录
                </button>
                <button class="px-4 py-2 rounded-lg bg-primary text-white hover:bg-primary/90 transition-colors shadow-lg shadow-primary/20">
                    注册
                </button>
                <button class="md:hidden text-white text-xl">
                    <i class="fa fa-bars"></i>
                </button>
            </div>
        </div>
    </header>

    <!-- 主内容区 -->
    <main class="container mx-auto px-4 pt-24 pb-16">
        <!-- 欢迎横幅 -->
        <section class="mb-12">
            <div class="relative rounded-2xl overflow-hidden bg-gradient-to-r from-primary/20 to-secondary/20 p-8 border border-white/10">
                <div class="absolute top-0 right-0 w-64 h-64 bg-primary/20 rounded-full filter blur-3xl -mr-32 -mt-32"></div>
                <div class="absolute bottom-0 left-0 w-64 h-64 bg-secondary/20 rounded-full filter blur-3xl -ml-32 -mb-32"></div>
                
                <div class="relative z-10 max-w-3xl">
                    <h2 class="text-[clamp(2rem,5vw,3.5rem)] font-bold leading-tight mb-4">
                        安全、快速地交换 <span class="bg-gradient-to-r from-primary to-secondary bg-clip-text text-transparent">USDT</span>
                    </h2>
                    <p class="text-white/80 text-lg mb-8 max-w-2xl">
                        支持多种区块链网络的USDT互换，低手续费、高速度、安全可靠。无论是Omni、TRC-20还是BEP-20，我们都能满足您的需求。
                    </p>
                    <div class="flex flex-wrap gap-4">
                        <button class="px-6 py-3 bg-primary text-white rounded-lg hover:bg-primary/90 transition-all shadow-lg shadow-primary/20 flex items-center gap-2">
                            <i class="fa fa-exchange"></i> 立即交易
                        </button>
                        <button class="px-6 py-3 bg-white/10 text-white rounded-lg hover:bg-white/20 transition-all border border-white/20 flex items-center gap-2">
                            <i class="fa fa-info-circle"></i> 了解更多
                        </button>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 交易面板 -->
        <section class="grid grid-cols-1 lg:grid-cols-3 gap-8 mb-12">
            <!-- 交易表单 -->
            <div class="lg:col-span-2 bg-dark-blue rounded-2xl p-6 border border-white/10 shadow-xl">
                <div class="flex items-center justify-between mb-6">
                    <h3 class="text-xl font-bold">USDT 交换</h3>
                    <div class="flex items-center space-x-2">
                        <span class="text-xs px-2 py-1 rounded-full bg-primary/20 text-primary">低手续费</span>
                        <span class="text-xs px-2 py-1 rounded-full bg-secondary/20 text-secondary">即时到账</span>
                    </div>
                </div>
                
                <div class="space-y-6">
                    <!-- 来源网络 -->
                    <div>
                        <label class="block text-sm font-medium text-white/70 mb-2">来源网络</label>
                        <div class="relative">
                            <select class="w-full bg-dark rounded-lg p-4 pr-10 text-white border border-white/10 appearance-none focus:outline-none focus:ring-2 focus:ring-primary">
                                <option value="omni">Omni (比特币网络)</option>
                                <option value="trc20" selected>TRC-20 (波场网络)</option>
                                <option value="erc20">ERC-20 (以太坊网络)</option>
                                <option value="bep20">BEP-20 (币安智能链)</option>
                            </select>
                            <div class="absolute right-4 top-1/2 transform -translate-y-1/2 pointer-events-none">
                                <i class="fa fa-chevron-down text-white/50"></i>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 输入金额 -->
                    <div>
                        <div class="flex justify-between items-center mb-2">
                            <label class="block text-sm font-medium text-white/70">金额</label>
                            <button class="text-xs text-primary hover:text-primary/80">全部</button>
                        </div>
                        <div class="relative">
                            <input type="number" placeholder="0.00" class="w-full bg-dark rounded-lg p-4 pr-24 text-white border border-white/10 focus:outline-none focus:ring-2 focus:ring-primary" value="1000">
                            <div class="absolute right-4 top-1/2 transform -translate-y-1/2 flex items-center space-x-2">
                                <span class="text-white font-medium">USDT</span>
                                <div class="h-4 w-px bg-white/20"></div>
                                <span class="text-white/60 text-sm">$1,000.00</span>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 交换按钮 -->
                    <div class="flex justify-center my-4">
                        <button class="w-12 h-12 rounded-full bg-primary/20 text-primary hover:bg-primary/30 transition-all flex items-center justify-center" id="swapButton">
                            <i class="fa fa-exchange text-xl"></i>
                        </button>
                    </div>
                    
                    <!-- 目标网络 -->
                    <div>
                        <label class="block text-sm font-medium text-white/70 mb-2">目标网络</label>
                        <div class="relative">
                            <select class="w-full bg-dark rounded-lg p-4 pr-10 text-white border border-white/10 appearance-none focus:outline-none focus:ring-2 focus:ring-primary">
                                <option value="omni">Omni (比特币网络)</option>
                                <option value="trc20">TRC-20 (波场网络)</option>
                                <option value="erc20" selected>ERC-20 (以太坊网络)</option>
                                <option value="bep20">BEP-20 (币安智能链)</option>
                            </select>
                            <div class="absolute right-4 top-1/2 transform -translate-y-1/2 pointer-events-none">
                                <i class="fa fa-chevron-down text-white/50"></i>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 接收地址 -->
                    <div>
                        <label class="block text-sm font-medium text-white/70 mb-2">接收地址</label>
                        <div class="relative">
                            <input type="text" placeholder="请输入接收地址" class="w-full bg-dark rounded-lg p-4 pr-10 text-white border border-white/10 focus:outline-none focus:ring-2 focus:ring-primary" value="0x7a250d5630B4cF539739dF2C5dAcb4c659F240">
                            <div class="absolute right-4 top-1/2 transform -translate-y-1/2 pointer-events-none">
                                <i class="fa fa-qrcode text-white/50 cursor-pointer hover:text-primary transition-colors"></i>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 交易详情 -->
                    <div class="bg-dark rounded-lg p-4 border border-white/10">
                        <h4 class="text-sm font-medium text-white/70 mb-3">交易详情</h4>
                        <div class="space-y-2 text-sm">
                            <div class="flex justify-between">
                                <span class="text-white/60">交换金额</span>
                                <span class="font-medium">1,000.00 USDT</span>
                            </div>
                            <div class="flex justify-between">
                                <span class="text-white/60">网络手续费</span>
                                <span class="font-medium text-secondary">1.50 USDT</span>
                            </div>
                            <div class="flex justify-between">
                                <span class="text-white/60">预计到账</span>
                                <span class="font-medium">998.50 USDT</span>
                            </div>
                            <div class="h-px bg-white/10 my-2"></div>
                            <div class="flex justify-between">
                                <span class="text-white/60">汇率</span>
                                <span class="font-medium">1:1</span>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 提交按钮 -->
                    <button class="w-full py-4 bg-primary rounded-lg text-white font-medium hover:bg-primary/90 transition-all shadow-lg shadow-primary/20 flex items-center justify-center gap-2">
                        <i class="fa fa-paper-plane"></i> 确认交换
                    </button>
                </div>
            </div>
            
            <!-- 市场数据和最近交易 -->
            <div class="space-y-8">
                <!-- 价格图表 -->
                <div class="bg-dark-blue rounded-2xl p-6 border border-white/10 shadow-xl">
                    <div class="flex items-center justify-between mb-4">
                        <h3 class="text-xl font-bold">USDT 价格</h3>
                        <div class="flex items-center space-x-2">
                            <button class="text-xs px-2 py-1 rounded bg-primary/20 text-primary">24h</button>
                            <button class="text-xs px-2 py-1 rounded bg-dark text-white/60 hover:bg-white/10 transition-colors">7d</button>
                            <button class="text-xs px-2 py-1 rounded bg-dark text-white/60 hover:bg-white/10 transition-colors">1m</button>
                        </div>
                    </div>
                    
                    <div class="mb-4 flex items-end">
                        <div>
                            <p class="text-2xl font-bold">$1.00</p>
                            <p class="text-secondary flex items-center text-sm">
                                <i class="fa fa-caret-up mr-1"></i> 0.02%
                            </p>
                        </div>
                        <div class="ml-auto text-right">
                            <p class="text-sm text-white/60">市值</p>
                            <p class="font-medium">$83.4B</p>
                        </div>
                    </div>
                    
                    <div class="h-64">
                        <canvas id="priceChart"></canvas>
                    </div>
                </div>
                
                <!-- 最近交易 -->
                <div class="bg-dark-blue rounded-2xl p-6 border border-white/10 shadow-xl">
                    <div class="flex items-center justify-between mb-4">
                        <h3 class="text-xl font-bold">最近交易</h3>
                        <button class="text-primary text-sm hover:underline">查看全部</button>
                    </div>
                    
                    <div class="space-y-4 max-h-96 overflow-y-auto scrollbar-hide">
                        <!-- 交易项 -->
                        <div class="flex items-center p-3 bg-dark rounded-lg border border-white/10 card-hover">
                            <div class="w-10 h-10 rounded-full bg-primary/20 flex items-center justify-center text-primary mr-4">
                                <i class="fa fa-exchange"></i>
                            </div>
                            <div class="flex-1 min-w-0">
                                <div class="flex justify-between items-center">
                                    <h4 class="font-medium text-sm truncate">TRC-20 → ERC-20</h4>
                                    <span class="text-secondary font-medium">+500.00 USDT</span>
                                </div>
                                <div class="flex justify-between items-center mt-1">
                                    <p class="text-xs text-white/60">
                                        <i class="fa fa-clock-o mr-1"></i> 10分钟前
                                    </p>
                                    <span class="text-xs px-2 py-0.5 rounded-full bg-secondary/20 text-secondary">已完成</span>
                                </div>
                            </div>
                        </div>
                        
                        <div class="flex items-center p-3 bg-dark rounded-lg border border-white/10 card-hover">
                            <div class="w-10 h-10 rounded-full bg-primary/20 flex items-center justify-center text-primary mr-4">
                                <i class="fa fa-exchange"></i>
                            </div>
                            <div class="flex-1 min-w-0">
                                <div class="flex justify-between items-center">
                                    <h4 class="font-medium text-sm truncate">BEP-20 → TRC-20</h4>
                                    <span class="text-secondary font-medium">+2,000.00 USDT</span>
                                </div>
                                <div class="flex justify-between items-center mt-1">
                                    <p class="text-xs text-white/60">
                                        <i class="fa fa-clock-o mr-1"></i> 1小时前
                                    </p>
                                    <span class="text-xs px-2 py-0.5 rounded-full bg-secondary/20 text-secondary">已完成</span>
                                </div>
                            </div>
                        </div>
                        
                        <div class="flex items-center p-3 bg-dark rounded-lg border border-white/10 card-hover">
                            <div class="w-10 h-10 rounded-full bg-primary/20 flex items-center justify-center text-primary mr-4">
                                <i class="fa fa-exchange"></i>
                            </div>
                            <div class="flex-1 min-w-0">
                                <div class="flex justify-between items-center">
                                    <h4 class="font-medium text-sm truncate">ERC-20 → Omni</h4>
                                    <span class="text-secondary font-medium">+1,500.00 USDT</span>
                                </div>
                                <div class="flex justify-between items-center mt-1">
                                    <p class="text-xs text-white/60">
                                        <i class="fa fa-clock-o mr-1"></i> 3小时前
                                    </p>
                                    <span class="text-xs px-2 py-0.5 rounded-full bg-yellow-500/20 text-yellow-500">处理中</span>
                                </div>
                            </div>
                        </div>
                        
                        <div class="flex items-center p-3 bg-dark rounded-lg border border-white/10 card-hover">
                            <div class="w-10 h-10 rounded-full bg-primary/20 flex items-center justify-center text-primary mr-4">
                                <i class="fa fa-exchange"></i>
                            </div>
                            <div class="flex-1 min-w-0">
                                <div class="flex justify-between items-center">
                                    <h4 class="font-medium text-sm truncate">TRC-20 → BEP-20</h4>
                                    <span class="text-danger font-medium">-800.00 USDT</span>
                                </div>
                                <div class="flex justify-between items-center mt-1">
                                    <p class="text-xs text-white/60">
                                        <i class="fa fa-clock-o mr-1"></i> 昨天
                                    </p>
                                    <span class="text-xs px-2 py-0.5 rounded-full bg-danger/20 text-danger">已发送</span>
                                </div>
                            </div>
                        </div>
                        
                        <div class="flex items-center p-3 bg-dark rounded-lg border border-white/10 card-hover">
                            <div class="w-10 h-10 rounded-full bg-primary/20 flex items-center justify-center text-primary mr-4">
                                <i class="fa fa-exchange"></i>
                            </div>
                            <div class="flex-1 min-w-0">
                                <div class="flex justify-between items-center">
                                    <h4 class="font-medium text-sm truncate">Omni → ERC-20</h4>
                                    <span class="text-secondary font-medium">+3,200.00 USDT</span>
                                </div>
                                <div class="flex justify-between items-center mt-1">
                                    <p class="text-xs text-white/60">
                                        <i class="fa fa-clock-o mr-1"></i> 2天前
                                    </p>
                                    <span class="text-xs px-2 py-0.5 rounded-full bg-secondary/20 text-secondary">已完成</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 支持的网络 -->
        <section class="mb-12">
            <h2 class="text-2xl font-bold mb-8 text-center">支持的USDT网络</h2>
            
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
                <!-- 网络卡片 -->
                <div class="bg-dark-blue rounded-2xl p-6 border border-white/10 card-hover">
                    <div class="w-12 h-12 rounded-lg bg-primary/20 flex items-center justify-center text-primary mb-4">
                        <i class="fa fa-bitcoin text-xl"></i>
                    </div>
                    <h3 class="text-lg font-bold mb-2">Omni USDT</h3>
                    <p class="text-white/70 text-sm mb-4">基于比特币网络的USDT，安全性高，适合大额转账。</p>
                    <div class="flex items-center justify-between">
                        <span class="text-xs px-2 py-1 rounded-full bg-primary/20 text-primary">高安全性</span>
                        <span class="text-xs px-2 py-1 rounded-full bg-danger/20 text-danger">较慢速度</span>
                    </div>
                </div>
                
                <div class="bg-dark-blue rounded-2xl p-6 border border-white/10 card-hover">
                    <div class="w-12 h-12 rounded-lg bg-primary/20 flex items-center justify-center text-primary mb-4">
                        <i class="fa fa-link text-xl"></i>
                    </div>
                    <h3 class="text-lg font-bold mb-2">TRC-20 USDT</h3>
                    <p class="text-white/70 text-sm mb-4">基于波场网络的USDT，转账速度快，手续费低。</p>
                    <div class="flex items-center justify-between">
                        <span class="text-xs px-2 py-1 rounded-full bg-secondary/20 text-secondary">快速确认</span>
                        <span class="text-xs px-2 py-1 rounded-full bg-secondary/20 text-secondary">低手续费</span>
                    </div>
                </div>
                
                <div class="bg-dark-blue rounded-2xl p-6 border border-white/10 card-hover">
                    <div class="w-12 h-12 rounded-lg bg-primary/20 flex items-center justify-center text-primary mb-4">
                        <i class="fa fa-cube text-xl"></i>
                    </div>
                    <h3 class="text-lg font-bold mb-2">ERC-20 USDT</h3>
                    <p class="text-white/70 text-sm mb-4">基于以太坊网络的USDT，兼容性强，生态丰富。</p>
                    <div class="flex items-center justify-between">
                        <span class="text-xs px-2 py-1 rounded-full bg-primary/20 text-primary">广泛支持</span>
                        <span class="text-xs px-2 py-1 rounded-full bg-warning/20 text-warning">中等费用</span>
                    </div>
                </div>
                
                <div class="bg-dark-blue rounded-2xl p-6 border border-white/10 card-hover">
                    <div class="w-12 h-12 rounded-lg bg-primary/20 flex items-center justify-center text-primary mb-4">
                        <i class="fa fa-btc text-xl"></i>
                    </div>
                    <h3 class="text-lg font-bold mb-2">BEP-20 USDT</h3>
                    <p class="text-white/70 text-sm mb-4">基于币安智能链的USDT，速度快，与币安生态兼容。</p>
                    <div class="flex items-center justify-between">
                        <span class="text-xs px-2 py-1 rounded-full bg-secondary/20 text-secondary">高速确认</span>
                        <span class="text-xs px-2 py-1 rounded-full bg-secondary/20 text-secondary">极低费用</span>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 常见问题 -->
        <section>
            <h2 class="text-2xl font-bold mb-8 text-center">常见问题</h2>
            
            <div class="max-w-3xl mx-auto space-y-4">
                <!-- FAQ项 -->
                <div class="bg-dark-blue rounded-xl p-6 border border-white/10">
                    <button class="flex justify-between items-center w-full text-left focus:outline-none" onclick="toggleFaq(this)">
                        <h3 class="font-bold">如何选择合适的USDT网络？</h3>
                        <i class="fa fa-chevron-down text-white/50 transition-transform"></i>
                    </button>
                    <div class="faq-content mt-4 text-white/70 hidden">
                        <p>选择USDT网络时，需考虑以下因素：</p>
                        <ul class="list-disc ml-5 mt-2 space-y-1">
                            <li>转账速度：TRC-20和BEP-20最快，Omni最慢</li>
                            <li>手续费：TRC-20和BEP-20最低，Omni最高</li>
                            <li>兼容性：ERC-20支持最广泛，与大多数钱包和DeFi应用兼容</li>
                            <li>安全性：Omni基于比特币网络，安全性最高</li>
                        </ul>
                    </div>
                </div>
                
                <div class="bg-dark-blue rounded-xl p-6 border border-white/10">
                    <button class="flex justify-between items-center w-full text-left focus:outline-none" onclick="toggleFaq(this)">
                        <h3 class="font-bold">交换USDT需要多长时间？</h3>
                        <i class="fa fa-chevron-down text-white/50 transition-transform"></i>
                    </button>
                    <div class="faq-content mt-4 text-white/70 hidden">
                        <p>交换时间取决于源网络和目标网络的确认速度：</p>
                        <ul class="list-disc ml-5 mt-2 space-y-1">
                            <li>TRC-20/BEP-20 → 其他网络：通常5-10分钟</li>
                            <li>ERC-20 → 其他网络：通常15-30分钟</li>
                            <li>Omni → 其他网络：通常30-60分钟</li>
                        </ul>
                        <p class="mt-2">特殊情况下（如网络拥堵）可能会延长。</p>
                    </div>
                </div>
                
                <div class="bg-dark-blue rounded-xl p-6 border border-white/10">
                    <button class="flex justify-between items-center w-full text-left focus:outline-none" onclick="toggleFaq(this)">
                        <h3 class="font-bold">交换USDT的手续费是多少？</h3>
                        <i class="fa fa-chevron-down text-white/50 transition-transform"></i>
                    </button>
                    <div class="faq-content mt-4 text-white/70 hidden">
                        <p>我们收取的手续费取决于源网络和目标网络：</p>
                        <ul class="list-disc ml-5 mt-2 space-y-1">
                            <li>TRC-20/BEP-20 → 其他网络：0.1%-0.3%</li>
                            <li>ERC-20 → 其他网络：0.2%-0.5%</li>
                            <li>Omni → 其他网络：0.3%-1%</li>
                        </ul>
                        <p class="mt-2">此外，还需支付目标网络的矿工费（通常几美分到几美元不等）。</p>
                    </div>
                </div>
                
                <div class="bg-dark-blue rounded-xl p-6 border border-white/10">
                    <button class="flex justify-between items-center w-full text-left focus:outline-none" onclick="toggleFaq(this)">
                        <h3 class="font-bold">如果转账地址填写错误怎么办？</h3>
                        <i class="fa fa-chevron-down text-white/50 transition-transform"></i>
                    </button>
                    <div class="faq-content mt-4 text-white/70 hidden">
                        <p>如果转账地址填写错误，资金可能无法找回。请务必：</p>
                        <ul class="list-disc ml-5 mt-2 space-y-1">
                            <li>仔细核对接收地址</li>
                            <li>确认地址格式与目标网络匹配</li>
                            <li>优先使用复制粘贴功能</li>
                        </ul>
                        <p class="mt-2">如发现地址错误且交易未确认，请立即联系客服尝试拦截。</p>
                    </div>
                </div>
            </div>
        </section>
    </main>

    <!-- 页脚 -->
    <footer class="bg-dark-blue border-t border-white/10">
        <div class="container mx-auto px-4 py-12">
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
                <div>
                    <div class="flex items-center space-x-2 mb-4">
                        <div class="w-10 h-10 rounded-lg bg-primary flex items-center justify-center">
                            <i class="fa fa-exchange text-white text-xl"></i>
                        </div>
                        <h2 class="text-xl font-bold bg-gradient-to-r from-primary to-secondary bg-clip-text text-transparent">USDT<span class="text-sm font-normal ml-1">Exchange</span></h2>
                    </div>
                    <p class="text-white/60 mb-4">安全、快速地交换各种区块链网络的USDT，为您提供最佳的加密货币体验。</p>
                    <div class="flex space-x-4">
                        <a href="#" class="w-8 h-8 rounded-full bg-white/10 flex items-center justify-center text-white hover:bg-primary transition-colors">
                            <i class="fa fa-twitter"></i>
                        </a>
                        <a href="#" class="w-8 h-8 rounded-full bg-white/10 flex items-center justify-center text-white hover:bg-primary transition-colors">
                            <i class="fa fa-telegram"></i>
                        </a>
                        <a href="#" class="w-8 h-8 rounded-full bg-white/10 flex items-center justify-center text-white hover:bg-primary transition-colors">
                            <i class="fa fa-discord"></i>
                        </a>
                        <a href="#" class="w-8 h-8 rounded-full bg-white/10 flex items-center justify-center text-white hover:bg-primary transition-colors">
                            <i class="fa fa-github"></i>
                        </a>
                    </div>
                </div>
                
                <div>
                    <h3 class="text-lg font-bold mb-4">产品</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">USDT交换</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">钱包</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">API</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">流动性</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">收益农场</a></li>
                    </ul>
                </div>
                
                <div>
                    <h3 class="text-lg font-bold mb-4">资源</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">帮助中心</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">API文档</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">费率表</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">状态</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">博客</a></li>
                    </ul>
                </div>
                
                <div>
                    <h3 class="text-lg font-bold mb-4">公司</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">关于我们</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">联系我们</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">招贤纳士</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">隐私政策</a></li>
                        <li><a href="#" class="text-white/60 hover:text-primary transition-colors">服务条款</a></li>
                    </ul>
                </div>
            </div>
            
            <div class="h-px bg-white/10 my-8"></div>
            
            <div class="flex flex-col md:flex-row justify-between items-center">
                <p class="text-white/60 text-sm mb-4 md:mb-0">© 2023 USDTExchange. 保留所有权利。</p>
                <div class="flex space-x-6">
                    <a href="#" class="text-white/60 hover:text-primary transition-colors text-sm">隐私政策</a>
                    <a href="#" class="text-white/60 hover:text-primary transition-colors text-sm">服务条款</a>
                    <a href="#" class="text-white/60 hover:text-primary transition-colors text-sm">Cookie政策</a>
                </div>
            </div>
        </div>
    </footer>

    <!-- JavaScript -->
    <script>
        // 导航栏滚动效果
        const navbar = document.getElementById('navbar');
        window.addEventListener('scroll', () => {
            if (window.scrollY > 10) {
                navbar.classList.add('bg-dark-blue/90');
                navbar.classList.add('shadow-lg');
            } else {
                navbar.classList.remove('bg-dark-blue/90');
                navbar.classList.remove('shadow-lg');
            }
        });
        
        // FAQ切换
        function toggleFaq(button) {
            const content = button.nextElementSibling;
            const icon = button.querySelector('i');
            
            if (content.classList.contains('hidden')) {
                content.classList.remove('hidden');
                icon.classList.add('rotate-180');
            } else {
                content.classList.add('hidden');
                icon.classList.remove('rotate-180');
            }
        }
        
        // 交换按钮功能
        const swapButton = document.getElementById('swapButton');
        swapButton.addEventListener('click', () => {
            const fromNetwork = document.querySelector('select:first-of-type');
            const toNetwork = document.querySelector('select:last-of-type');
            const temp = fromNetwork.value;
            fromNetwork.value = toNetwork.value;
            toNetwork.value = temp;
        });
        
        // 价格图表
        const ctx = document.getElementById('priceChart').getContext('2d');
        const priceChart = new Chart(ctx, {
            type: 'line',
            data: {
                labels: ['00:00', '03:00', '06:00', '09:00', '12:00', '15:00', '18:00', '21:00', '现在'],
                datasets: [{
                    label: 'USDT价格 (USD)',
                    data: [1.0001, 0.9998, 1.0002, 0.9997, 1.0000, 1.0003, 0.9999, 1.0001, 1.0000],
                    borderColor: '#165DFF',
                    backgroundColor: 'rgba(22, 93, 255, 0.1)',
                    borderWidth: 2,
                    pointRadius: 0,
                    tension: 0.4,
                    fill: true
                }]
            },
            options: {
                responsive: true,
                maintainAspectRatio: false,
                plugins: {
                    legend: {
                        display: false
                    },
                    tooltip: {
                        mode: 'index',
                        intersect: false,
                        backgroundColor: 'rgba(30, 41, 59, 0.9)',
                        titleColor: '#fff',
                        bodyColor: '#fff',
                        borderColor: 'rgba(255, 255, 255, 0.1)',
                        borderWidth: 1,
                        padding: 12,
                        displayColors: false
                    }
                },
                scales: {
                    x: {
                        grid: {
                            display: false,
                            drawBorder: false
                        },
                        ticks: {
                            color: 'rgba(255, 255, 255, 0.5)',
                            font: {
                                size: 10
                            }
                        }
                    },
                    y: {
                        grid: {
                            color: 'rgba(255, 255, 255, 0.05)',
                            drawBorder: false
                        },
                        ticks: {
                            color: 'rgba(255, 255, 255, 0.5)',
                            font: {
                                size: 10
                            },
                            callback: function(value) {
                                return value.toFixed(4);
                            }
                        },
                        min: 0.999,
                        max: 1.001
                    }
                },
                interaction: {
                    mode: 'nearest',
                    axis: 'x',
                    intersect: false
                },
                elements: {
                    line: {
                        tension: 0.4
                    }
                }
            }
        });
    </script>
</body>
</html>
    